(read_integer): Use doubles (and potentially return a float
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Aug 2009 21:10:17 +0000 (21:10 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Aug 2009 21:10:17 +0000 (21:10 +0000)
commit679137c78823e81b885aa22f331359f23acbf43f
tree3fc39070d36ddc2b0f998a598f43403849277b18
parentf6ad490ca83ea7135a0b8755f9d8a1d92d71b74f
(read_integer): Use doubles (and potentially return a float
number) as we do in string-to-number.
(read1): Use strtol to read integers, signal errors on strtol's
overflow and use floats if strtol's output is too large for
Elisp integers.
src/ChangeLog
src/lread.c